package function;

public abstract class Function {
	public abstract double evaluate(double x);

	public abstract Function differentiate();

	public Function invert() {
		return new Multiply(new Constant(-1), this);
	}

	public abstract String toString();

}
